/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.data;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import javax.ejb.FinderException;
import javax.ejb.RemoveException;
import org.w3c.dom.Document;
import unc.pds.util.Arch;

/**
 *
 * @author ain
 */
public interface RootDataBeanRemoteHome extends EJBHome {

    unc.pds.data.RootDataBeanRemote findByPrimaryKey(java.lang.Long key)  throws FinderException, RemoteException;
    unc.pds.data.RootDataBeanRemote findByPrimaryKey(java.lang.Long key, String type)  throws FinderException, RemoteException;
    unc.pds.data.RootDataBeanRemote findByFieldSet(Arch doc, String object_type_name)  throws FinderException, RemoteException;
    java.util.Collection findMByFieldSet(Arch doc, String object_type_name)  throws FinderException, RemoteException;
    java.util.Collection findByParentKey(java.lang.Long key)  throws FinderException, RemoteException;
    java.util.Collection findByParentKey(java.lang.Long key, String type)  throws FinderException, RemoteException;
    unc.pds.data.RootDataBeanRemote create(unc.pds.util.Arch doc, Long sessionKey) throws CreateException,RemoteException;
}
